﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UnlessComment.Model
{
    public partial class CommentDetail
    {
        public CommentDetail()
        { }

        public CommentDetail(Comment comment)
        {
            _id = comment.id;
            _content = comment.content;
            _date = comment.date;
            _state = comment.state;
        }

        #region Model
        private int _id;
        private string _user_username;
        private string _news_url;
        private string _content;
        private string _to_username;
        private string _user_screen_name;
        private string _to_screen_name;
        private DateTime? _date;
        private int? _state;
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string user_username
        {
            set { _user_username = value; }
            get { return _user_username; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string user_screen_name
        {
            set { _user_screen_name = value; }
            get { return _user_screen_name; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string news_url
        {
            set { _news_url = value; }
            get { return _news_url; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string to_username
        {
            set { _to_username = value; }
            get { return _to_username; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string to_screen_name
        {
            set { _to_screen_name = value; }
            get { return _to_screen_name; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? date
        {
            set { _date = value; }
            get { return _date; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? state
        {
            set { _state = value; }
            get { return _state; }
        }


        #endregion Model
    }
}
